package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallBaowenDao;
import com.appkubes.mall.core.entity.MallBaowen;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallBaowenService extends AbstractBaseService<BaseMallBaowenDao, MallBaowen> {

    MallBaowen getOneByEntity(MallBaowen entity);

    List<MallBaowen> selectListByEntity(MallBaowen entity);

    IPage<MallBaowen> selectPageByEntity(IPage<MallBaowen> page);
    IPage<MallBaowen> selectPageByEntity(PageVO pageVO);

    IPage<MallBaowen> selectPageByEntity(MallBaowen entity, IPage<MallBaowen> page);
    IPage<MallBaowen> selectPageByEntity(MallBaowen entity, PageVO pageVO);

    IPage<MallBaowen> selectPageByEntity(MallBaowen entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallBaowen entity);
}
